from fastapi import FastAPI
import uvicorn
app = FastAPI()

@app.get("/")
def home():
    return {"userid":1, "username":"yuan"}  

@app.get("/items/{item_id}")
def read_item(item_id: int):
    return {"item_id": item_id}

if __name__ == "__main__":
    uvicorn.run("04include_route:app", host="0.0.0.0", port=8000, reload=True)

